package com.buba.manager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 张宇飞
 * @Description: 商品列表控制层
 * @date 2021/8/3016:46
 */
@Controller
@RequestMapping("goods")
public class GoodsCategoryController {

    /**
     * 跳转到列表页
     * @return
     */
    @RequestMapping("category/list")
    public String categoryList(){
        return "goods/category/category-list";
    }

    /**
     * 跳转到列表页
     * @return
     */
    @RequestMapping("category/add")
    public String categoryAdd(){
        return "goods/category/category-add";
    }
}
